{% extends 'it/base.html' %}
{% load task %}
{% block title_action %}工程师登录{% endblock title_action %}

{% block content %}
    <div class="container">
      <form class="form-signin" method="post" action=".">
        {% csrf_token %}
        <h2 class="form-signin-heading">工程师登录</h2>
        <label for="inputUserName" class="sr-only">UserName</label>
        <input type="text" name="username" id="inputUserName" class="form-control" placeholder="用户名" required="" autofocus="">
        <label for="inputPassword" class="sr-only">Password</label>
        <input type="password" name="password" id="inputPassword" class="form-control" placeholder="密码" required="">
        <div class="checkbox">
          <label>
            <input type="checkbox" value="remember-me"> 记住我
          </label>
        </div>
        <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
        <input type="hidden" name="next" value="{{ next }}" />
      </form>
    </div> <!-- /container -->
{% endblock content %}